package com.datechange.demo.entity;

import java.io.Serializable;
import java.util.List;

/**
 * <p>Title: CMS内容管理系统</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: cms</p>
 * @author cms
 * @version 3.0
 */

public class ContentObject
    implements Serializable {

//    private List<CmsAttachment> attachments;
//
//    public List<CmsAttachment> getAttachments() {
//        return attachments;
//    }
//
//    public void setAttachments(List<CmsAttachment> attachments) {
//        this.attachments = attachments;
//    }

    private String a1;
    private String a2;
    private String a3;
    private String a4;
    private String a5;
    private String a6;
    private String a7;
    private String a8;
    private String a9;
    private String a10;
    private String a11;
    private String a12;
    private String a13;
    private String a14;
    private String a15;
    private String a16;
    private String a17;
    private String a18;
    private String a19;
    private String a20;
    private String a21;
    private String a22;
    private String a23;
    private String a24;
    private String a25;
    private String a26;
    private String a27;
    private String a28;
    private String a29;
    private String a30;
    private String unitivetopic;
    private String unitivetopicflag;

    private String infoid = null;
    private String channelcode = null;
    private String channelname = null;
    private String topic = null;
    private String content = null;
    private String pubtime = null;
    private String filltime = null;
    private String resultinfo = null;
    private String origin = null;
    private String keywords = null;
    private String keywordsflag = null;
    private String description = null;
    private String sortnumber = null;
    private String picnumber = null;
    private String affixnumber = null;
    private String iscommend = null;
    private String checkednum = null;
    private String filepath = null;
    private String pubposition = null;
    private String infostate = null;
    private String infotype = null;
    private String infofinish = null;
    private String infourl = null;
    private String ftpflag = null;
    private String genflag = null;
    private String pageno = null;
    private String totalpage = null;
    private String targetid = null;
    private String istransmit = null;
    private String operator = null;
    private String relatedinfoidstr = null;
    private String relatedinfostr = null;
    private String userid = null;
    private String uploadFileStr = null;
    private String uploadImgStr = null;
    private String uploadSqlStr = null;
    private String stempletid = null;
    private String echannelname = null;
    private String specialchannelcode = null;
    private String specialchannelname = "";
    private String contenttype = null;
    private String deptcode = null;
    private String keywordschannel = null;
    private String recycletime = null;
    private String isspecifypassusers = null;
    private String linktochannelcode = null;
    private String linktochannelname = null;
    private String specialflag = null;
    //信息归属采集目标对应的默认频道(可以是多个，以;隔开) 例如 A0102;A0103   A020801等等
    private String defaultchannel;
    //指定转发到的目的频道 如果为0则表示转发到默认频道
    private String tochannel;
    //信息归属的采集目标id
    private String siteid;
    private String pics;
    private String a31;
    private String a32;
    private String a33;
    private String a34;
    private String a35;
    private String a36;
    private String a37;
    private String a38;
    private String a39;
    private String a40;
    private String webservicecode;
    private String authorname;
    private String secondtopic;
    private String tagword;
    private String indexid;
    private String zrbm;

    public String getIndexid() {
		return indexid;
	}

	public void setIndexid(String indexid) {
		this.indexid = indexid;
	}

	public String getZrbm() {
		return zrbm;
	}

	public void setZrbm(String zrbm) {
		this.zrbm = zrbm;
	}

	public ContentObject() {
    }

    public String getInfoid() {
        return infoid;
    }

    public void setInfoid(String infoid) {
        this.infoid = infoid;
    }

    public String getChannelcode() {
        return channelcode;
    }

    public void setChannelcode(String channelcode) {
        this.channelcode = channelcode;
    }

    public String getChannelname() {
        return channelname;
    }

    public void setChannelname(String channelname) {
        this.channelname = channelname;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPubtime() {
        return pubtime;
    }

    public void setPubtime(String pubtime) {
        this.pubtime = pubtime;
    }

    public String getFilltime() {
        return filltime;
    }

    public void setFilltime(String filltime) {
        this.filltime = filltime;
    }

    public String getResultinfo() {
        return resultinfo;
    }

    public void setResultinfo(String resultinfo) {
        this.resultinfo = resultinfo;
    }

    public String getOrigin() {
        if (origin == null) {
            origin = "";
        }
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getKeywords() {
        if (keywords == null) {
            keywords = "";
        }
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getKeywordsflag() {
        return keywordsflag;
    }

    public void setKeywordsflag(String keywordsflag) {
        this.keywordsflag = keywordsflag;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSortnumber() {
        return sortnumber;
    }

    public void setSortnumber(String sortnumber) {
        this.sortnumber = sortnumber;
    }

    public String getPicnumber() {
        return picnumber;
    }

    public void setPicnumber(String picnumber) {
        this.picnumber = picnumber;
    }

    public String getAffixnumber() {
        return affixnumber;
    }

    public void setAffixnumber(String affixnumber) {
        this.affixnumber = affixnumber;
    }

    public String getIscommend() {
        return iscommend;
    }

    public void setIscommend(String iscommend) {
        this.iscommend = iscommend;
    }

    public String getCheckednum() {
        return checkednum;
    }

    public void setCheckednum(String checkednum) {
        this.checkednum = checkednum;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getPubposition() {
        return pubposition;
    }

    public void setPubposition(String pubposition) {
        this.pubposition = pubposition;
    }

    public String getInfostate() {
        return infostate;
    }

    public String getInfotype() {
        return infotype;
    }

    public void setInfotype(String infotype) {
        this.infotype = infotype;
    }

    public void setInfostate(String infostate) {
        this.infostate = infostate;
    }

    public String getInfofinish() {
        return infofinish;
    }

    public void setInfofinish(String infofinish) {
        this.infofinish = infofinish;
    }

    public String getInfourl() {
        return infourl;
    }

    public void setInfourl(String infourl) {
        this.infourl = infourl;
    }

    public String getFtpflag() {
        return ftpflag;
    }

    public void setFtpflag(String ftpflag) {
        this.ftpflag = ftpflag;
    }

    public String getGenflag() {
        return genflag;
    }

    public void setGenflag(String genflag) {
        this.genflag = genflag;
    }

    public String getPageno() {
        return pageno;
    }

    public void setPageno(String pageno) {
        this.pageno = pageno;
    }

    public String getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(String totalpage) {
        this.totalpage = totalpage;
    }

    public String getTargetid() {
        return targetid;
    }

    public void setTargetid(String targetid) {
        this.targetid = targetid;
    }

    public String getIstransmit() {
        return istransmit;
    }

    public void setIstransmit(String istransmit) {
        this.istransmit = istransmit;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRelatedinfoidstr() {
        return relatedinfoidstr;
    }

    public void setRelatedinfoidstr(String relatedinfoidstr) {
        this.relatedinfoidstr = relatedinfoidstr;
    }

    public String getRelatedinfostr() {
        return relatedinfostr;
    }

    public void setRelatedinfostr(String relatedinfostr) {
        this.relatedinfostr = relatedinfostr;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getStempletid() {
        return stempletid;
    }

    public void setStempletid(String stempletid) {
        this.stempletid = stempletid;
    }

    public String getEchannelname() {
        return echannelname;
    }

    public void setEchannelname(String echannelname) {
        this.echannelname = echannelname;
    }

    public String getSpecialchannelcode() {
        return specialchannelcode;
    }

    public void setSpecialchannelcode(String specialchannelcode) {
        this.specialchannelcode = specialchannelcode;
    }

    public String getSpecialchannelname() {
        return specialchannelname;
    }

    public void setSpecialchannelname(String specialchannelname) {
        this.specialchannelname = specialchannelname;
    }

    public String getUploadFileStr() {
        return uploadFileStr;
    }

    public void setUploadFileStr(String uploadFileStr) {
        this.uploadFileStr = uploadFileStr;
    }

    public String getUploadImgStr() {
        return uploadImgStr;
    }

    public void setUploadImgStr(String uploadImgStr) {
        this.uploadImgStr = uploadImgStr;
    }

    public String getUploadSqlStr() {
        return uploadSqlStr;
    }

    public void setUploadSqlStr(String uploadSqlStr) {
        this.uploadSqlStr = uploadSqlStr;
    }

    public String getContenttype() {
        return contenttype;
    }

    public void setContenttype(String contenttype) {
        this.contenttype = contenttype;
    }

    public String getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    public String getKeywordschannel() {
        return keywordschannel;
    }

    public void setKeywordschannel(String keywordschannel) {
        this.keywordschannel = keywordschannel;
    }

    public String getRecycletime() {
        return recycletime;
    }

    public void setRecycletime(String recycletime) {
        this.recycletime = recycletime;
    }

    public String getIsspecifypassusers() {
        return isspecifypassusers;
    }

    public void setIsspecifypassusers(String isspecifypassusers) {
        this.isspecifypassusers = isspecifypassusers;
    }

    public String getLinktochannelcode() {
        return linktochannelcode;
    }

    public void setLinktochannelcode(String linktochannelcode) {
        this.linktochannelcode = linktochannelcode;
    }

    public String getLinktochannelname() {
        return linktochannelname;
    }

    public void setLinktochannelname(String linktochannelname) {
        this.linktochannelname = linktochannelname;
    }

    public String getSpecialflag() {
        return specialflag;
    }

    public void setSpecialflag(String specialflag) {
        this.specialflag = specialflag;
    }

    public String getA1() {
        return a1;
    }

    public void setA1(String a1) {
        this.a1 = a1;
    }

    public String getA2() {
        return a2;
    }

    public void setA2(String a2) {
        this.a2 = a2;
    }

    public String getA3() {
        return a3;
    }

    public void setA3(String a3) {
        this.a3 = a3;
    }

    public String getA4() {
        return a4;
    }

    public void setA4(String a4) {
        this.a4 = a4;
    }

    public String getA5() {
        return a5;
    }

    public void setA5(String a5) {
        this.a5 = a5;
    }

    public String getA6() {
        return a6;
    }

    public void setA6(String a6) {
        this.a6 = a6;
    }

    public String getA7() {
        return a7;
    }

    public void setA7(String a7) {
        this.a7 = a7;
    }

    public String getA8() {
        return a8;
    }

    public void setA8(String a8) {
        this.a8 = a8;
    }

    public String getA9() {
        return a9;
    }

    public void setA9(String a9) {
        this.a9 = a9;
    }

    public String getA10() {
        return a10;
    }

    public void setA10(String a10) {
        this.a10 = a10;
    }

    public String getA11() {
        return a11;
    }

    public void setA11(String a11) {
        this.a11 = a11;
    }

    public String getA12() {
        return a12;
    }

    public void setA12(String a12) {
        this.a12 = a12;
    }

    public String getA13() {
        return a13;
    }

    public void setA13(String a13) {
        this.a13 = a13;
    }

    public String getA14() {
        return a14;
    }

    public void setA14(String a14) {
        this.a14 = a14;
    }

    public String getA15() {
        return a15;
    }

    public void setA15(String a15) {
        this.a15 = a15;
    }

    public String getA16() {
        return a16;
    }

    public void setA16(String a16) {
        this.a16 = a16;
    }

    public String getA17() {
        return a17;
    }

    public void setA17(String a17) {
        this.a17 = a17;
    }

    public String getA18() {
        return a18;
    }

    public void setA18(String a18) {
        this.a18 = a18;
    }

    public String getA19() {
        return a19;
    }

    public void setA19(String a19) {
        this.a19 = a19;
    }

    public String getA20() {
        return a20;
    }

    public void setA20(String a20) {
        this.a20 = a20;
    }

    public String getA21() {
        return a21;
    }

    public void setA21(String a21) {
        this.a21 = a21;
    }

    public String getA22() {
        return a22;
    }

    public void setA22(String a22) {
        this.a22 = a22;
    }

    public String getA23() {
        return a23;
    }

    public void setA23(String a23) {
        this.a23 = a23;
    }

    public String getA24() {
        return a24;
    }

    public void setA24(String a24) {
        this.a24 = a24;
    }

    public String getA25() {
        return a25;
    }

    public void setA25(String a25) {
        this.a25 = a25;
    }

    public String getA26() {
        return a26;
    }

    public void setA26(String a26) {
        this.a26 = a26;
    }

    public String getA27() {
        return a27;
    }

    public void setA27(String a27) {
        this.a27 = a27;
    }

    public String getA28() {
        return a28;
    }

    public void setA28(String a28) {
        this.a28 = a28;
    }

    public String getA29() {
        return a29;
    }

    public void setA29(String a29) {
        this.a29 = a29;
    }

    public String getA30() {
        return a30;
    }

    public void setA30(String a30) {
        this.a30 = a30;
    }

    /**
     * 获取某一字段的值
     * @param fieldname
     * @return
     */
    public Object getValue(String fieldname) {
        Object val = null;
        try {
            String strMethod = "get" + fieldname.substring(0, 1).toUpperCase() + fieldname.substring(1).toLowerCase();
            val = this.getClass().getMethod(strMethod, new Class[0]).invoke(this, new Object[0]);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
        return val;
    }

    /**
     * 释放资源
     */
    public void release() {
        infoid = null;
        channelcode = null;
        channelname = null;
        topic = null;
        content = null;
        pubtime = null;
        filltime = null;
        recycletime = null;
        resultinfo = null;
        origin = null;
        keywords = null;
        keywordsflag = null;
        description = null;
        sortnumber = null;
        picnumber = null;
        affixnumber = null;
        iscommend = null;
        checkednum = null;
        filepath = null;
        pubposition = null;
        infostate = null;
        infotype = null;
        infofinish = null;
        infourl = null;
        ftpflag = null;
        genflag = null;
        pageno = null;
        totalpage = null;
        targetid = null;
        istransmit = null;
        operator = null;
        relatedinfoidstr = null;
        relatedinfostr = null;
        userid = null;
        uploadFileStr = null;
        uploadImgStr = null;
        uploadSqlStr = null;
        stempletid = null;
        echannelname = null;
        specialchannelcode = null;
        specialchannelname = "";
        contenttype = null;
        deptcode = null;
        isspecifypassusers = null;
        a1 = null;
        a2 = null;
        a3 = null;
        a4 = null;
        a5 = null;
        a6 = null;
        a7 = null;
        a8 = null;
        a9 = null;
        a10 = null;
        a11 = null;
        a12 = null;
        a13 = null;
        a14 = null;
        a15 = null;
        a16 = null;
        a17 = null;
        a18 = null;
        a19 = null;
        a20 = null;
        a21 = null;
        a22 = null;
        a23 = null;
        a24 = null;
        a25 = null;
        a26 = null;
        a27 = null;
        a28 = null;
        a29 = null;
        a30 = null;
        unitivetopic = null;
        unitivetopicflag = null;
    }

    public String getUnitivetopic() {
        return unitivetopic;
    }

    public void setUnitivetopic(String unitivetopic) {
        this.unitivetopic = unitivetopic;
    }

    public String getUnitivetopicflag() {
        return unitivetopicflag;
    }

    public void setUnitivetopicflag(String unitivetopicflag) {
        this.unitivetopicflag = unitivetopicflag;
    }

    public String getDefaultchannel() {
        return defaultchannel;
    }

    public void setDefaultchannel(String defaultchannel) {
        this.defaultchannel = defaultchannel;
    }

    public String getTochannel() {
        return tochannel;
    }

    public void setTochannel(String tochannel) {
        this.tochannel = tochannel;
    }

    public String getSiteid() {
        return siteid;
    }

    public void setSiteid(String siteid) {
        this.siteid = siteid;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    public String getA31() {
        return a31;
    }

    public void setA31(String a31) {
        this.a31 = a31;
    }

    public String getA32() {
        return a32;
    }

    public void setA32(String a32) {
        this.a32 = a32;
    }

    public String getA33() {
        return a33;
    }

    public void setA33(String a33) {
        this.a33 = a33;
    }

    public String getA34() {
        return a34;
    }

    public void setA34(String a34) {
        this.a34 = a34;
    }

    public String getA35() {
        return a35;
    }

    public void setA35(String a35) {
        this.a35 = a35;
    }

    public String getA36() {
        return a36;
    }

    public void setA36(String a36) {
        this.a36 = a36;
    }

    public String getA37() {
        return a37;
    }

    public void setA37(String a37) {
        this.a37 = a37;
    }

    public String getA38() {
        return a38;
    }

    public void setA38(String a38) {
        this.a38 = a38;
    }

    public String getA39() {
        return a39;
    }

    public void setA39(String a39) {
        this.a39 = a39;
    }

    public String getA40() {
        return a40;
    }

    public void setA40(String a40) {
        this.a40 = a40;
    }

    public String getWebservicecode() {
        return webservicecode;
    }

    public void setWebservicecode(String webservicecode) {
        this.webservicecode = webservicecode;
    }

	public String getAuthorname() {
		return authorname;
	}

	public void setAuthorname(String authorname) {
		this.authorname = authorname;
	}

	public String getSecondtopic() {
		return secondtopic;
	}

	public void setSecondtopic(String secondtopic) {
		this.secondtopic = secondtopic;
	}

	public String getTagword() {
		return tagword;
	}

	public void setTagword(String tagword) {
		this.tagword = tagword;
	}
}
